<!DOCTYPE html>
<div style="width: 100%">
   <img style="width: 10px; height: 10px" src="../../misc/resources/image-slow.pl"/>
   <img style="width: 20px; height: 10px" src="../../misc/resources/image-slow.pl"/>
</div>
<div style="height: 99999px; width: 100%" id="view_div"></div>
<div style="width: 100%">
  <img style="width: 10px; height: 10px" src="../../misc/resources/image-slow-out-of-viewport.pl">
</div>
<script>
document.body.offsetTop; // Force a layout.
</script>
<div style="width: 100%">
   <img src="../../misc/resources/image-slow.pl"/>
</div>
<script>
document.body.offsetTop; // Force a layout.
</script>
